package com.jz;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * Created by WISE on 2021/12/24.
 */
@Controller
public class HtmlController {

    @GetMapping("htmlTest")
    public String htmlTest(Model model) {

        model.addAttribute("html","合家欢乐");
        return "banner";
    }


}
